package com.incar.chuxing.bean;

import com.google.gson.Gson;

import java.util.List;

/**
 * Created by Michael Pi on 2016/8/29.
 */
public class MapParksAndCarsBean {


    private int status;
    private String message;
    private Object debug;
    private AttachmentBean attachment;

    public static MapParksAndCarsBean objectFromData(String str) {

        return new Gson().fromJson(str, MapParksAndCarsBean.class);
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        private int remindStatus;
        private List<ParksBean> parks;
        private List<CarModelsBean> carModels;

        public static AttachmentBean objectFromData(String str) {

            return new Gson().fromJson(str, AttachmentBean.class);
        }

        public int getRemindStatus() {
            return remindStatus;
        }

        public void setRemindStatus(int remindStatus) {
            this.remindStatus = remindStatus;
        }

        public List<ParksBean> getParks() {
            return parks;
        }

        public void setParks(List<ParksBean> parks) {
            this.parks = parks;
        }

        public List<CarModelsBean> getCarModels() {
            return carModels;
        }

        public void setCarModels(List<CarModelsBean> carModels) {
            this.carModels = carModels;
        }

        public static class ParksBean {
            private String id;
            private String userId;
            private String locationName;
            private double longitude;
            private double latitude;
            private int availableCar;
            private Object carModelList;
            private double distance;
            private String areaName;

            public static ParksBean objectFromData(String str) {

                return new Gson().fromJson(str, ParksBean.class);
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getLocationName() {
                return locationName;
            }

            public void setLocationName(String locationName) {
                this.locationName = locationName;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public int getAvailableCar() {
                return availableCar;
            }

            public void setAvailableCar(int availableCar) {
                this.availableCar = availableCar;
            }

            public Object getCarModelList() {
                return carModelList;
            }

            public void setCarModelList(Object carModelList) {
                this.carModelList = carModelList;
            }

            public double getDistance() {
                return distance;
            }

            public void setDistance(double distance) {
                this.distance = distance;
            }

            public String getAreaName() {
                return areaName;
            }

            public void setAreaName(String areaName) {
                this.areaName = areaName;
            }
        }

        public static class CarModelsBean {
            private String id;
            private String userId;
            private String picture;
            private String brand;
            private String model;
            private String licenseTag;
            private String electric;
            private String mileage;
            private double longitude;
            private double latitude;
            private String gradeId;
            private String parkId;
            private ValuationRuleModelBean valuationRuleModel;
            private String parkName;
            private String abatement;
            private String companyByRisk;
            private int seat;
            private long onlineTime;
            private String locationName;
            private String userRemark;
            private String timeStr = "";

            public static CarModelsBean objectFromData(String str) {

                return new Gson().fromJson(str, CarModelsBean.class);
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTimeStr() {
                return timeStr;
            }

            public void setTimeStr(String timeStr) {
                this.timeStr = timeStr;
            }


            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public String getBrand() {
                return brand;
            }

            public void setBrand(String brand) {
                this.brand = brand;
            }

            public String getModel() {
                return model;
            }

            public void setModel(String model) {
                this.model = model;
            }

            public String getLicenseTag() {
                return licenseTag;
            }

            public void setLicenseTag(String licenseTag) {
                this.licenseTag = licenseTag;
            }

            public String getElectric() {
                return electric;
            }

            public void setElectric(String electric) {
                this.electric = electric;
            }

            public String getMileage() {
                return mileage;
            }

            public void setMileage(String mileage) {
                this.mileage = mileage;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public String getGradeId() {
                return gradeId;
            }

            public void setGradeId(String gradeId) {
                this.gradeId = gradeId;
            }

            public String getParkId() {
                return parkId;
            }

            public void setParkId(String parkId) {
                this.parkId = parkId;
            }

            public ValuationRuleModelBean getValuationRuleModel() {
                return valuationRuleModel;
            }

            public void setValuationRuleModel(ValuationRuleModelBean valuationRuleModel) {
                this.valuationRuleModel = valuationRuleModel;
            }

            public String getParkName() {
                return parkName;
            }

            public void setParkName(String parkName) {
                this.parkName = parkName;
            }

            public String getAbatement() {
                return abatement;
            }

            public void setAbatement(String abatement) {
                this.abatement = abatement;
            }

            public String getCompanyByRisk() {
                return companyByRisk;
            }

            public void setCompanyByRisk(String companyByRisk) {
                this.companyByRisk = companyByRisk;
            }

            public int getSeat() {
                return seat;
            }

            public void setSeat(int seat) {
                this.seat = seat;
            }

            public long getOnlineTime() {
                return onlineTime;
            }

            public void setOnlineTime(long onlineTime) {
                this.onlineTime = onlineTime;
            }

            public String getLocationName() {
                return locationName;
            }

            public void setLocationName(String locationName) {
                this.locationName = locationName;
            }

            public String getUserRemark() {
                return userRemark;
            }

            public void setUserRemark(String userRemark) {
                this.userRemark = userRemark;
            }

            public static class ValuationRuleModelBean {
                private String id;
                private double weekDayPrice;
                private double weekNightPrice;
                private double weekendDayPrice;
                private double weekendNightPrice;
                private double dayTopPrice;
                private double businessWeekTopPrice;
                private double weekendTopPrice;
                private double fullWeekTopPrice;
                private double fullDayMiliSecond;
                private double morningMiliSecond;
                private double nightMiliSecond;
                private double fridayMiliSecond;
                private double fullDayMinutes;
                private double fullNightMinutes;
                private double fullWeekDayMinutes;
                private double fullWeekNightMinutes;
                private double startingPrice;
                private double mileagePrice;

                public static ValuationRuleModelBean objectFromData(String str) {

                    return new Gson().fromJson(str, ValuationRuleModelBean.class);
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public double getWeekDayPrice() {
                    return weekDayPrice;
                }

                public void setWeekDayPrice(double weekDayPrice) {
                    this.weekDayPrice = weekDayPrice;
                }

                public double getWeekNightPrice() {
                    return weekNightPrice;
                }

                public void setWeekNightPrice(double weekNightPrice) {
                    this.weekNightPrice = weekNightPrice;
                }

                public double getWeekendDayPrice() {
                    return weekendDayPrice;
                }

                public void setWeekendDayPrice(double weekendDayPrice) {
                    this.weekendDayPrice = weekendDayPrice;
                }

                public double getWeekendNightPrice() {
                    return weekendNightPrice;
                }

                public void setWeekendNightPrice(double weekendNightPrice) {
                    this.weekendNightPrice = weekendNightPrice;
                }

                public double getDayTopPrice() {
                    return dayTopPrice;
                }

                public void setDayTopPrice(double dayTopPrice) {
                    this.dayTopPrice = dayTopPrice;
                }

                public double getBusinessWeekTopPrice() {
                    return businessWeekTopPrice;
                }

                public void setBusinessWeekTopPrice(double businessWeekTopPrice) {
                    this.businessWeekTopPrice = businessWeekTopPrice;
                }

                public double getWeekendTopPrice() {
                    return weekendTopPrice;
                }

                public void setWeekendTopPrice(double weekendTopPrice) {
                    this.weekendTopPrice = weekendTopPrice;
                }

                public double getFullWeekTopPrice() {
                    return fullWeekTopPrice;
                }

                public void setFullWeekTopPrice(double fullWeekTopPrice) {
                    this.fullWeekTopPrice = fullWeekTopPrice;
                }

                public double getFullDayMiliSecond() {
                    return fullDayMiliSecond;
                }

                public void setFullDayMiliSecond(double fullDayMiliSecond) {
                    this.fullDayMiliSecond = fullDayMiliSecond;
                }

                public double getMorningMiliSecond() {
                    return morningMiliSecond;
                }

                public void setMorningMiliSecond(double morningMiliSecond) {
                    this.morningMiliSecond = morningMiliSecond;
                }

                public double getNightMiliSecond() {
                    return nightMiliSecond;
                }

                public void setNightMiliSecond(double nightMiliSecond) {
                    this.nightMiliSecond = nightMiliSecond;
                }

                public double getFridayMiliSecond() {
                    return fridayMiliSecond;
                }

                public void setFridayMiliSecond(double fridayMiliSecond) {
                    this.fridayMiliSecond = fridayMiliSecond;
                }

                public double getFullDayMinutes() {
                    return fullDayMinutes;
                }

                public void setFullDayMinutes(double fullDayMinutes) {
                    this.fullDayMinutes = fullDayMinutes;
                }

                public double getFullNightMinutes() {
                    return fullNightMinutes;
                }

                public void setFullNightMinutes(double fullNightMinutes) {
                    this.fullNightMinutes = fullNightMinutes;
                }

                public double getFullWeekDayMinutes() {
                    return fullWeekDayMinutes;
                }

                public void setFullWeekDayMinutes(double fullWeekDayMinutes) {
                    this.fullWeekDayMinutes = fullWeekDayMinutes;
                }

                public double getFullWeekNightMinutes() {
                    return fullWeekNightMinutes;
                }

                public void setFullWeekNightMinutes(double fullWeekNightMinutes) {
                    this.fullWeekNightMinutes = fullWeekNightMinutes;
                }

                public double getStartingPrice() {
                    return startingPrice;
                }

                public void setStartingPrice(double startingPrice) {
                    this.startingPrice = startingPrice;
                }

                public double getMileagePrice() {
                    return mileagePrice;
                }

                public void setMileagePrice(double mileagePrice) {
                    this.mileagePrice = mileagePrice;
                }
            }
        }
    }
}
